package com.yuanfeng.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 分销商等级表
 * @TableName base_distributor_grade
 */
@TableName(value ="base_distributor_grade")
@Data
public class BaseDistributorGradeEntity implements Serializable {
    /**
     * 等级类型
     */
    @TableId(type = IdType.AUTO)
    private Integer gradeType;

    /**
     * 等级描述
     */
    private String gradeDescribe;

    /**
     * 收益比例
     */
    private BigDecimal earningsRatio;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateBy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}